/*
 * @Author: Yang qiuyou wangyi168359476@163.com
 * @Date: 2024-07-26 11:15:02
 * @LastEditors: 武兴创 superjava@vip.qq.com
 * @LastEditTime: 2024-08-28 17:44:08
 * @FilePath: \SGFEM\DataStructure\FEM\Property\include\PSHEARData.h
 * @Description: @brief 剪切单元属性定义    PSHEAR
 *
 */

#pragma once
#include "DataStructure/Common/DataStructureNamespace.h"
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Input/Property/PropertyBase.h"

SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN
/// @brief 剪切单元属性定义
struct PSHEARData : PropertyBase
{
    SG::DataStructure::Common::Id   m_mId       = 0;    ///< 材料属性号 仅支持线弹性材料
    SG::DataStructure::Common::Real m_thickness = 0.0;  ///< 厚度， 取值 > 0
    SG::DataStructure::Common::Real m_nsm       = 0.0;  ///< 非结构质量
    SG::DataStructure::Common::Real m_F[2] = { 0.0 };  /// m_F[0]< 1-2, 3-4边等效轴向刚度系数  m_F[1]< 1-4, 2-3边等效轴向刚度系数
    SG::DataStructure::Common::Id m_domainId = 0;
};

DECLSPEC bool operator== (const PSHEARData &a, const PSHEARData &b);
SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE